<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/header}
<style>
.td-span{
	border: 1px solid #d3dbde;
    border-radius: 3px;
    color: #666;
    cursor: pointer;
    display: inline-block !important;
    margin-left:10px;
    width: 63px !important;
    text-align: center;
}
.on{
	color: #666;
	padding:2px;
}
.on:hover{
  	cursor: pointer;
	text-decoration:underline;
  }
</style>


    <div class="subnav">
        <a href="">首页</a> &gt; <a href="">系统管理</a> &gt; <a href="">金额设置</a>
    </div>
    <div class="main-inner">
        <div class="x-body">
            <table class="layui-table">
                <thead>
                    <tr>
                        <th>支付类型</th>
                        <th>单笔下限</th>
                        <th>单笔上限</th>
                        <th>添加时间</th>
                    </tr>
                </thead>
                <tbody id="datalist">
                    <tr>
                        <td>银联快捷</td>
                        <td>10</td>
                        <td>5000</td>
                    	<td>2018-03-20 17:31:16</td>
                    </tr>
                </tbody>
            </table>
            <div class="layui-clear">
                <div id="pages" class="layui-laypage">{$multi}</div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        function choose_all(){
    		$(".del").each(function(n,j){
    			if(!$(this).is(":checked")){
    				$(this).prop("checked",true);	
    			}else{
    				$(this).removeAttr("checked",false);
    			}
    		})
        }
    	   
    	function del(){
    		var arr = [];
    		$(".del").each(function(n,j){
				if($(this).is(":checked")){
					arr.push($(this).val());
				}
			});
    		$.post('?m=system&c=about&a=del',{
				'del_ids': arr
			},function (json){
				if(json.status=="1"){
					alert("删除成功！");
					location.href=location.href;
				}else{
					alert("失败");
				}
			},'json');


			
        }	
    </script>
        
        
        
{template index/footer}
